package com.swt.gap.model.vo.graph;

import com.swt.gap.model.vo.FormDataVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author sx
 */
@Data
@ApiModel
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class NodeDocVO {

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "文件类型名称")
    private String docTypeName;

    @ApiModelProperty(value = "上传时间")
    private String uploadTime;

    @ApiModelProperty(value = "1表格，2文本，3图片，4音频，5视频；" +
            "1时取formContent数据，2时取textContent数据，345时取url")
    private Integer docType;

    @ApiModelProperty(value = "文本内容")
    private String textContent;

    @ApiModelProperty(value = "表格内容")
    private FormDataVO formContent;

    @ApiModelProperty(value = "地址")
    private String url;
}
